Retry backup capture 3 times on RestClient errors

Heroku API (or S3) is relatively unstable. We had lots of issues with larger databases which kept throwing errors during the `until` loop.

This mitigates the issue somewhat.