Fixed a bug that was preventing timers from being disposed properly.