Give error if failing due to file descriptors