This will require fixing all existing leaks first. Suggested in https://github.com/open-telemetry/opentelemetry-collector/pull/9100#issuecomment-1856422113