fn handle_services_finish( server: &Arc<Server>, result: Result, listener: Option<Result>, ) -> Result