Add a rety count to the curl commands as the apache archive server seems to be flaky