Error handling for failure to connect to mbed websocket.