LWiFiClient.connected() still true when connection gone

I have been testing Wifi Server and found that
LWiFiClient.connected() does not return false when the connection of lost.
i.e. connect from Android phone (via AP) LinkIt <-> AP <-> Android phone

Make connection and then shut down phone so closing connection

LWiFiClient.connected() continues to return true.

This stops the sketch accepting any further connections.
testWifiServer.ino.pdf (47.6 KB)

I checked Arduino’s Ethernet shield and it Arduino’s library
connect() returns false when the connected android is turned off.

I found this situation either!