raft: block Stop() on n.done, support idempotency
Merge pull request #1699 from jonboulle/node_stop

raft: block Stop() on n.done, support idempotency