pub async fn start( config: &Config, registry: Arc<Mutex<Registry>>, ) -> Result<Handle, Box<dyn Error>>