Took out the lock. I think the race is actually being caused by NodeId(NodeId&&) that lack of noexcept yet again ...