Intercept EINTR in polling