Ensure uploading thread observes retry headers for as long as they continue to be sent.

Log repeated retries.