change redis connection from single con to a connection pool