No need to wait here - EINTR simply the syscall was interrupted for some reason and that you should retry.

You probably want to tell the Ruby VM to check for interrupts here though.