Open taskmanager on the performance tab and look at Threads. My PC shows Threads 1501 and goes up and down a bit so I don't think that number refers to your app but rather system threads or the thread running that caused the exception. Regardless, there is something your app is doing the o\s doesn't like...