public void Disconnect() { reconnectOnLostConnection = false; ws.Close (HTTP.WebSocket.CloseEventCode.CloseEventCodeNotSpecified, "Bye."); }