Make RegistryServer.on_service_added() callbacks work as intended