removed boost threads dependency