change heartbeattimeout to electiontimeout