Added heartbeat mechanism for ASR