Thread IDs are not being reused correctly in traces generated with the [new build](https://github.com/IBM/kineto-spyre/releases/download/torch-2.9.1.aiu.kineto.1.1/torch-2.9.1+aiu.kineto.1.1-cp312-cp312-linux_x86_64.whl) for torch-spyre. <img width="1362" height="153" alt="Image" src="https://github.com/user-attachments/assets/132d650a-c6b9-45e0-8a18-26b5be695d28" />
Thread IDs are not being reused correctly in traces generated with the new build for torch-spyre.