Remove SetThreadName as it consumes a significant amount of cpu time
Fix bug in NodeScheduler

HashMap was being recreated on every iteration of loop