Update node shutdown sequence to make more sense