Retry and fail logic for proxy_capture.
Retry/fail for PDFs.
Missing argument.
Merge pull request #735 from jcushman/capture-retry

Retry/fail logic for source and PDF capture.