thread::~thread
Destructor.
~thread();