I am running a long process which imports a long csv list into database in a separate thread
threadStart = new ThreadStart(processCSVUsers);
thread = new Thread(threadStart);
thread.IsBackground = true;
but I am facing one issue, if I run to many applications on this same pc then some times I am getting "Thread was being aborted." exception.
what I can do to make sure that this process always finsihs