when candidate stepdown it should break the loop; gofmt
Merge pull request #55 from xiangli-cmu/master

when candidate stepdown it should break the loop; gofmt