[#2212] CID84482, CID84481:

embiggened the try-catch block to catch more
boost::thread_resource_error exceptions
[#2439] Caught exceptions by const reference