de20eb65b5
- Improved logging for session aborts and unexpected exits. - Introduced a variable to track if the session was aborted for clarity. - Added logic to create a new AbortController when restarting the generator after a crash. - Implemented a mechanism to abort the session if there are no pending tasks after a natural completion. - Ensured that errors during recovery checks lead to session abortion to prevent resource leaks.