detect key not found and try to re-set key

This happens on restart from sleep and etcd key times out and refreshing
a timed out key fails for the heartbeat so we force create the key
because the service was not stopped.
update history