thanks for this repo,
this line expect a WDT for board reset (watchdog timer).
https://github.com/adafruit/Adafruit_MQTT_Library/blob/master/examples/adafruitio_secure_esp32/adafruitio_secure_esp32.ino#L154
However none was configured, which leads to infinite wait.