Fix bug "Threadpool grows by negative amount when max_threads = 0"

Bug listed from Launchpad:
https://bugs.launchpad.net/rocket/+bug/1095077