Added check to see if redis connection is still intact