Added some garbage collection to session management.