replaced boost::thread with std::threads everywhere. there is a noticable drop in CPU usage after this