Avoid running out of fds during test on OSX