finish heartbeat