/// <summary> /// disconnect from server /// </summary> public void Disconnect() { basicClient.CloseClient(); this.listenToServer = false; }