make timer restartable
Merge pull request #1 from jaspervp/master

make timer restartable