Fix signal handling of SIG_IPI when io-thread is enabled