restarting device on watchdog timeout