Maintenance task for sessions emptying