Add tomb for websocket remote session lifecycle management.
Now it can exit cleanly on error.