exit worker thread in destructor