Yes, I am already using try catch, but I still wanted to ask about this. I thought there was a specific action for this in BAS, such as OnApplicationExit, just like ‘OnApplicationStart’.
Thank you for your advice.
I'm running some simple bots in BAS, that just load a bunch of websites in order to gather cookies.
At some point in time (usually 10-12 hrs max) each thread gets some errors like these (check Thread #2 errors):

And that thread freezes. It doesn't stop, doesn't restart, it just keeps the last page it has loaded and doesn't do any other action. I've set timeouts for every action and a general timeout, too...nothing helps
Any ideas what to do to avoid these freezes?
Thanks