Lets just hope the heating pad has a temperature cutoff independent from the software, otherwise this turns a lot more scary.
Even my $15 el-cheapo coffee maker has two thermal cutoff switches.
https://www.electrical-forensics.com/Coffeemakers/CoffeeMake...