etcdserver: check stop by return err