Fixed multiple redis connection bug.