clean up websocket identity