Heh. K, must just be unexpected connection drops then.
Which makes sense actually, as presumably much of the 'cleanup code' is within the routines that fire when the user chooses to sign out, rather than when it is detected that the connection has indeed been lost, either through signing out or by unluck.