Retry curl after partial download
Fail build on error