swi-interrupts finally working as expected.