implements mechanism for cleaning up inactive users in websocket Server