Fix bug introduced in release 0.12.6 whereby interrupts were
failing to stop a test run