Catch EtcdException in ping

Any exception means ping failed. We should handle that properly.