Implementation of reap method to clean up expired sessions (fixes #3)