Force the websocket to close