Added watchdog timer.