Try to fix the issue with the websocket crash