private void OnConnectionClosed(InitialServerConnectionReader connectionReader)
 {
     lock (this.ThisLock)
     {
         if (!this.isDisposed)
         {
             this.connectionReaders.Remove(connectionReader);
         }
     }
 }
        void OnConnectionClosed(InitialServerConnectionReader connectionReader)
        {
            lock (ThisLock)
            {
                if (isDisposed)
                {
                    return;
                }

                connectionReaders.Remove(connectionReader);
            }
        }
        void OnViaDecoded(InitialServerConnectionReader connectionReader, ListenerSessionConnection session)
        {
            try
            {
                connectionHandleDuplicated(session);
            }
            finally
            {
                session.TriggerDequeuedCallback();
            }
            lock (ThisLock)
            {
                if (isDisposed)
                {
                    return;
                }

                connectionReaders.Remove(connectionReader);
            }
        }