Session.disconnect not work

Hello
Sometimes when I use session.disconnect, when I re-enter the same session, two users are added as if the user’s previous session had not been deleted.
This usually happens when the web socket is closed due to internet outage