While wsd is running, open the admin console
Now Ctrl + C to stop the wsd process. The admin console should show the user that Online was shut down. Worse, when the wsd is restarted, the admin-console screen is not updated accordingly; it keeps showing the stale view from the previous launch.
An error box or the overlay saying that wsd has been shut down sounds good to me which refreshes the page with the new WS connection whenever user clicks on the overlay. THis is similar to when the document becomes inactive after 5 minutes or so.
how to hack:
Check what web socket messages we receive when wsd shuts down in the backend and handle it appropriately in the admin websocket. One can check the websocket handling for the documents in src/core/Socket.js and do something similar with the admin websocket. Code for admin websocket is in loleaflet/src/admin/