socketClient::isConnected() fix