Fix redis connection leaks.