Thread exception cleanup
Add a Thread::ExceptionCleanUp helper class, formalising the clean-up procedure in case of exceptions in Thread
Add a Thread::ExceptionCleanUp helper class, formalising the clean-up procedure in case of exceptions in Thread