added default config for PIGATOR
check IRQs twice before terminating handling loop