add HTTP retries to downloading and uploading cookbooks