Stop diagnostics when destroyed