Multithreading for Mysql/Mongo benchmarks.