pub async fn update_machines_stats( config: Arc<Config>, connection: Connection, locked_monitord_stats: Arc<RwLock<MonitordStats>>, ) -> Result<()>