Don't crash on EINTR