implementing removeOldSessions() in SeverManager