Hi @RoSchmi,
Please add the following codes where you need to restart the MCU -> RTL8720 connection.
pinMode(RTL8720D_CHIP_PU, OUTPUT);
digitalWrite(RTL8720D_CHIP_PU, LOW);
delay(500);
digitalWrite(RTL8720D_CHIP_PU, HIGH);
delay(500);
Best Regards,
Lakshantha