From #789.
Have noticed that once you start a Worker Spam checking, for instance, 1000 emails, it kicks off a worker that can not be stopped.
If the error is:
"Error[ThunderAI] Error from API worker: undefined: undefined undefined, Detail: Ollama API request failed: TypeError: NetworkError when attempting to fetch resource. "
It goes through the 1000 emails, just spitting out the same error report on each email. The Worker should stop.
When the worker locks up, there is no way to restart it; a full restart of Thunderbird is required with no feedback for the user.
From #789.