Arduino Uno WiFi Rev2 hangs if WiFi connection disrupted

Thanks for testing this.
I understand what you are saying however what I am reporting is that the UNO WiFi Rev2 hangs and requires a hard reset at the command "client.connect(server,80)" This command is supposed to return a flag but in my case does not return anything, the command never returns control to the application.
I am using latest firmware (1.2.1) and library (1.4.0) as far as I can tell.
I tested this by running the example and then disconnecting power to my router. As soon as I do this the Uno just hangs and is completely unresponsive. There are no further updates to the serial monitor.
This is the issue I am trying to address.
Thanks