checking redis connection