pub async fn close_with_timeout(self) {
        if let Err(err) = tokio::time::timeout(EVENT_TIMEOUT, self.close()).await {
            debug!("failed to close telemetry handle. error: {}", err)
        } else {
            debug!("telemetry handle closed")
        }
    }
Closes the handle with an explicit timeout. If the handle fails to close
within that timeout, it will log an error and drop the handle.
crates/turborepo-telemetry/src/lib.rs