Remove sleeps and make client tests not use redis.