etcd: make retry configurable