Make S3 failure integration test more robust