Optimize move semantics of NodeEntry reducing copies of shared_ptr which causes atomic contention (#2576)