Code tuning - thread pool management
Merge branch 'master' of https://github.com/qcri-social/AIDR