Bugfix for RPIO: when exception occurs while in wait_for_interrupts(), RPIO now auto-cleans the interfaces in /sys/class/gpio