Removed boost_thread dependency