Only send over websocket if websocket is ready