Fix Jedis connection failure detection.