Added support for watchdog timer