Handling connection errors as cache misses