Better handling of errors while sending to (disconnected) clients on the websocket