Rebooting After 13 Seconds, Programming Bug?

There is now a software watchdog timer built into the ArduinoIoTCloud library: