when candidate stepdown it should break the loop; gofmt