add a TTL when putting configuration in etcd and refresh config regularly, retry when putting value fails