Interrupt handling example.