etcd: make retry configurable

@unihorn Support retry flag
The default retry interval is 4s. Changed it to millisecond level in testing (original 100ms).
I would like to do this. However all of our tests do not check the returned error. Do you want to change all of these tests right now?