Fixing redis issues by pipelining.