- Fix a bug where EINTR was not handled properly