Redis fix for multithreading.