Steve> Maybe, then, the real answer is "just exit from the main thread"? Yes, I believe so. If that's not what's happening I would look to see if there is another thread which wasn't marked as a daemon. Skip