Trying to use interrupts to let the machine sleep!