setHeartbeatTimeout should be accessed by application; should not clear votefor after candidate loop