removing cache file on S3 errors; fixes; testing different error scenarios