fix: deep recursive traversals started in node visitors could cause a thread lock