when shutdown, notify etcd