Set the WDT timer to 2s when the watchdog is used to reset the MCU to avoid infinite resets.