Fixed redis connection failure.