Register websocket as part of socket leave.