public async Task CloseAsync() { await serviceClient.CloseAsync(); await registryManager.CloseAsync(); }