Rescue Redis::CannotConnectError on read/write entry on 3.2.x branch

Redis client throws Redis::CannotConnectError when it fails to connect.

If the cache is not reachable, we should rescue that error and fallback to no-cache behavior.

This already exists on the master branch, this is to add it to 3.2.x branch.