Close the websocket