logout users when they close their socket.