etcd: defer afterTest