Confirm before close if the websocket is still open