Add periodic saving of timers

Signed-off-by: Ian Macalinao <ianmacalinao@gmail.com>