Changed redis connection to use a pool