Bug 828149 - Cancel timer during application shutdown. r=rnewman