s3: allow infinie retries when using -1