Fixing redis connection errors.