Yes, I did mean thread, and I hadn't realized this would kill all the threads. I'll try with ioproc then, thanks for the example. Mathieu