Fix redis connection