thx digital! worked great!

I unload the client when the error event occurs and Voila!
and I write the err. description ot a .log file for future reference!