       int b = httpsClient.read();
       if (b < 0) {
         httpsClient.stop();
-        flashNumber(SERVER_READ_ERROR);
-        return false;
+        return SERVER_READ_ERROR;
       }
       if (b == '\r') {
         break;

  digitalWrite(LED_PIN, on ? LOW : HIGH);
}

void blinkLed(int ms) {
  setLed(true);
  delay(ms);
  setLed(false);

    byte b = httpsClient.read();
    if (b < 0) {
      httpsClient.stop();
      return SERVER_READ_ERROR;
    }
    if (!isDigit(b)) {
      break;
