add fail-handler and retry-handler to with-retries