fixed bug where creating new redis connection instead of using existing