private void removeConnection()
 {
     if (_lastListener != null)
     {
         _lastListener.RemoveConnection(this);
     }
     else
     {
         _listener.RemoveConnection(this);
     }
 }