ensure interrupts are disabled before leaving isr