Fix concurrent redis pipeline bug.