public async Task CloseRpcClientAsync(string amqpNode) { IRpcClient _client = null; if (this._clientMap.TryGetValue(amqpNode, out _client)) { if (_client != null) { await _client.DestroyAsync(); } } if (this._clientMap.ContainsKey(amqpNode)) { this._clientMap.Remove(amqpNode); } }