fixing concurrency issue when creating flannel config key in etcd