Support: Don't call close again if we get EINTR