Add check for Internet connectivity.