Fix test failure on OSX due to low ulimit.