ESP32 hangs when booting without wifi (Blynk.begin ();)

Help.
When I start the ESP32 with the WIFI network turned on, the program performs as correct.
The manual trigger only works when the network is switched off, when the network is switched on BLYNK automatically connects.

But if you start with the WIFI turned off, the program gets stuck, and does not even start LOOP ().
In other posts I realized that this happens because (Blynk.begin ():wink: tries to connect, and the LOOP is only going to work when ouver connect

Is there a way to make the program work without this failure?


#define BLYNK_PRINT Serial
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>

const int bt_anderson = 23;
const int led_manual = 19; 

char auth[] = "xxxxxxxx";
char ssid[] = "poixx";
char pass[] = "12345678";

void setup()
{
  Serial.begin(9600);
  Blynk.begin(auth, ssid, pass);
  
pinMode (bt_anderson, INPUT_PULLUP); 
pinMode(led_manual, OUTPUT);   
}

void loop() {
Serial.println("LOOP ON");
while(true){
  if(Blynk.connected ()){
        Blynk.run();
        }else{
              Blynk.connect ();
              if(bt_anderson == 0){
                digitalWrite(led_manual, HIGH);
                }else{digitalWrite(led_manual, LOW);}
             }
   
  }
 }
}