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