Fixed etcd racing condition bug