So at first, I expected this event to be handled in `static/js/spa/server.js` or `static/js/talkilla_spa.js` to actually fix the problem.
But it works without adding any more code.

Just to be clear, here is what happens:

- The client receives the "disconnect" event and bubbles up to the shared worker.
- Nothing catch this event
- As the long polling was interrupted by an event, the client tries to reconnect
- As the user is now signed out, the long polling raise an "unauthorized" event resulting in a "reauth-needed" event for the shared worker.

Because we now close the session in case we have a "reauth-needed" event, this effectively logs out the user at the social API level.
However it displays a warning (an error really according to the red color of the notification) saying we have to sign in again.

Tell me if we should consider that fine or not.