Fixed redis connection initialization