/// <summary>
/// Tries to force terminate the thread if needed
/// </summary>
public override void TryForceTerminate()
{
if (!Running)
{
return;
}
AttemptToTerminate(); //one last request to terminate without an abort or a spin and wait
if (WorkerThread == null || !WorkerThread.IsAlive)
{
return;
}
StopThread.TryForceTerminate(WorkerThread);
}