Shadow copy / delete moved thread

If a thread is deleted after it is moved, the shadow copy remains and points to an "invalid thread". Anyway to remove the shadow, or inform the user that the thread has been deleted in the error message would work better.