Bugfix for watchdog timer.