Reopen websocket when closed