LWiFiClient.connected() still true when connection gone

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