server: fix timer leak
Merge pull request #900 from unihorn/fix-timer

server: fix timer leak