Ticket 48037 - ns_thrpool_new should take a config struct rather than many parameters
Description: Use a config struct for all the thread pool configuration
Also, fixed a shutdown crash when the the nunc-stans listener is disabled.
https://fedorahosted.org/389/ticket/48037
Reviewed by: rmeggins(Thanks!)