**Version:** dev branch ## Describe the Bug With the new introduction of the new scheduler for token streaming, now if you try to cancel mid run, the entire application freezes. ## Steps to Reproduce 1. Send a message 2. Wait for the message to be processed and stream 3. Click cancel and see that it is freezing ## Screenshots / Logs https://github.com/user-attachments/assets/9e6b6416-09fb-4e79-ae84-80df5e4c671c ## Operating System - [x] MacOS - [x] Windows - [x] Linux