tweaked redis stuff, still flaky i think