Fix heartbeat process.