Fix timer leak