You need to prevent too many threads from being spawned, a problem that could potentially result in a denial of service owing to exhausted system resources.