Handle the case when the SamplingProfiler thread is terminated prematurely
Handle the case when the SamplingProfiler thread is terminated prematurely

wtgodbe/coreclr,krk/coreclr,wtgodbe/coreclr,poizan42/coreclr,wtgodbe/coreclr,cshung/coreclr,cshung/coreclr,poizan42/coreclr,poizan42/coreclr,krk/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,wtgodbe/coreclr,poizan42/coreclr,poizan42/coreclr,wtgodbe/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,cshung/coreclr,wtgodbe/coreclr,cshung/coreclr,krk/coreclr