Retry transient curl transfer errors