clean up heartbeat-listener (fires if appjs/node code emits document/heartbeat events)