seed_data: Delay Redis connection until we need it

It doesn't terribly matter whether this is done at the start or not, but
it's nice to keep variable initializations near where they're used.