I get the error "Thread was being aborted" while trying to delete some temporary files from a certain directory. I think this problem is specific to the code below, because application pool is not recycled while the code is running (as far as I observed). The piece of code below runs successfully if it takes 3-5 seconds. But when the count of files are bigger, I get the error after 12 or 15 seconds. I assume its not a global timeout etc because there are other threads which take much more time than this one, and still not get aborted. Can it be related to I/O operation? This is the piece of code:I get the error "Thread was being aborted" whil