finishing and testing multi-thread with boost::thread