This can happen if there was an error during the thread execution and the thread hangs up itself or if the user tries to close MITK during normal execution of the thread. So:
(1) There should be a timeout of all threads which end them even if they hung up. When this happens there should also be an error message.
(2) The threads should always be ended if the plugin in closed.