Limiting concurrent cookbook uploads

Each knife execution starts a ruby process.
Each ruby process consumes 30mb of RAM, and it is to much!
It was taking all my computer memory,
so we imposed a limite on the number of threads uploading cookbooks.