add periodic session save.