close redis connection