register to etcd on startup/shutdown