   return true;
 }
 
+void lockUp() {
+  while (true) {
+    yield();
+  }
+}
+
 void setup() {
   Serial.begin(115200);
 

#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <SoftwareSerial.h>
#include <WiFiClientSecure.h>

#include "config.h"


  if (!httpsClient.verifyCertChain(SERVER_HOST)) {
    Serial.println("Certificate verification failed");
    // TODO figure out why this fails (https://github.com/esp8266/Arduino/issues/3340?)
    // return false;
  }

  httpsClient.print(
