internal void DisconnectNotify(bool conLost) { OnDisconnected(conLost); var evt = Disconnected; if (evt != null) { evt(this, conLost); } AuthMgr.Cleanup(); }