Improve error message on disconnected websocket