Fixed double firing of onConnect - removing the call from WebSocketClient.