Added clean_session task to run periodically.
Merge pull request #1901 from jezdez/periodic-session-cleanup

Added clean_session task to run periodically.