Arduino IOT 33 WiFi Issues

What is the issue:

I connect the IOT33 using a USB cable on my PC. I use the default WIFI Client example and the device connect property to the WIFI network.

I pull out the USB cable on my PC and I put a power supply to the device. The device refuse to connect to the WIFI network.

Is there an explanation? Could you please help?

Many examples have a while (!Serial) {} statement in them, and will stop there until a serial connection is established, maybe that's the problem.