reduce redis connection