Handle EINTR throughout libnative

Closes #11214