Increase resilience to curl errors