Enable/disable interrupts on open/close.