raft: check lead change in run loop