check if heartbeat timeout for follower is applicable
add config and candidate state; count votes in candidate state