Created by: dobesv
Help avoid pitfalls with closing reused connections and keyPrefix.
Fix for https://github.com/OptimalBits/bull/issues/1747