Fixing DB thread explosion (#1223)
Fixing DB thread explosion (#1223)

* Making socket manager dual-threaded rather than multi

* Updating tests for new blocking logic

* Bringing in extra threads

facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI