public void Close() { if (reconnectingSocket != null) { reconnectingSocket.Close(); reconnectingSocket = null; } }
public void Close() { if (IsConnected()) { reconnectingSocket.Close(); reconnectingSocket = null; } }