This should be using pidwait_fn, to avoid killing all instances on a node when people try to stop one.