Changed timers to main thread