add watchdog timer