Fix a problem with non-asynchronous retries.