AdsThreadExit
This function is obsolete and no longer needs to be called when a thread exits.