sigwaitinfo() may fail with EINTR if interrupted by an unblocked signal not in the set