Destroy removed widget, stop running threads if widget has been destroyed.