etcd: do not generate id if next state is stop