server: fix timer leak