Added interrupt reset to interrupt handler.