Fixed bug where watchdog wouldn't not restart