Use less threads to keep the number of open files smaller

This patch fix the OS X build in general and makes travis happy again.