Template:cpp/thread/dsc stop callback