Add network_retries flag for flaky network connections to retry url fetching