only make connection to redis once