Concurrency error fix : checkDeadNodes