Add retry predicate.