I have written a custom Retry Middleware to modify Headers and rotate the Proxy IP for each of the failed requests.
Although the retry middleware works fine with the