public void Create(string connectionId) { lock (_listeners) { if (!_listeners.ContainsKey(connectionId)) { _listeners.Add(connectionId, _channelFactory.CreateListener()); } } }