fix call_with_retry usage