Fixed NetworkUtils.checkConnectivity