adding option to pass in redis clients