private void Error() { Debug.Assert(m_session != null); m_socket.EventDisconnected(m_endpoint, m_handle); m_session.Detach(); Unplug(); Destroy(); }