S3Utils: Fix retry predicate