make watchdog timeout depend on main event loop rather than other interrupts getting hung