Wrap all S3 calls inside begin...rescue block