etcd: cleanup locking in run