etcd: make retry configurable

@unihorn Support retry flag
The default retry interval is 4s. Changed it to millisecond level in testing (original 100ms).
I don't think another PR is needed to make that change. If the correct thing to do is return an error, then return an error.