Add spinlock to protect get_node