public void SignOut() { if (this.clientConnection == null) return; clientConnection.Close(); lock (chatSessionsMutext) { chatSessions.Clear(); } }