Add option to CachedResource to disable retrying failed requests