public bool Disconnect() { dispatcher.OnDisconnect(); if (tcpClient != null) tcpClient.Close(); return true; }