WIFI does not connect when no monitor is connected

What do you mean with interface?

I mean if you can still see wlan0 in ifconfig and just want to clarify if this issue is just no auto connection.
or even the wlan0 is gone.