Replaced the LogWorker thread with Boost ASIO