Probably fix "can't find previous user socket" BUG.
Note that disconnect script sequence changed!