Telemetry _controller is always undefined due to Promise identity loss in record(), so flushDetached's abort is a silent no-op
In Telemetry.record(), the promise stored in this.queue is the result of chaining .then().catch().then() on the promise returned by submitRecord(). Because .then()/.catch() return new Promise objects and do not copy custom properties, the final promise never has the _controller property that submitRecord() attached to its returned promise. The line (prom as any)._controller = (prom as any)._controller is a no-op. Consequently, flushDetached() always sees item._controller as undefined, making the abort() call a silent no-op.