Executing client middleware inside retries and scheduled poller

It's very useful for unique jobs middleware, for example.