Found curl_with_retries to be more reliable.

Signed-off-by: Wayne <wayne@puppetlabs.com>