Template:cpp/thread/packaged task/dsc make ready at thread exit