Raspberry Pi Watchdog Timer
https://www.switchdoc.com/2017/08/reliable-projects-2-using-internal-watchdog-timer-raspberry-pi/