allows us to tell if reset was due to watchdog
this resets the MCU if the main loop stops for 1 second