Fixed detection of the etcd connection status