add simple concurrency checking to the node api