clean up timer and change heartbeat and election to the new timer