curl to retry fetching