redis connection is not thread safe, open a new one every time