Provide a simple configurable limit on the number of threads.