Websockets now close on the backend after being closed from the frontend.