Ensure a NMI restarts the diagnostic routines cleanly