changed sessions cleaning algorithm - session are cleaned after some new number of sessions, not after time