Avoids caching of a HTTP error when of stream errors.