Fixed problem where timer delegate got destroyed.