Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
If a thread exits right when we are trying to force an exception to shut it down, setting the exception will fail with SystemError. At this point in the shutdown process we want to move on as this will cause the shutdown to abort