Add an optional error-handler argument to the wrap-try-later client middleware