Added debug output and delay before curl calls etcd