Perhaps everyone is trying too hard. Instead of trying to re-initialize the thread on error, let the thread create a new seperate thread and destroy itself naturally. Maybe a shot in the dark? :-/ JS