Fix timer overflow

See https://github.com/andris9/simpleStorage/pull/4