etcdserver: add publish func

for #1094 
s/keeps register/keeps attempting to register/