async fn check_initial_status( connection: &Connection, hub: &Sender<Event>, ) -> Result<(), Box<dyn Error>>