Remove multithreading for low priority function (removeRedundancies)
Add mutex for possible access race condition