Check if we have a WebSocket instance in whenConnected