boost like thread group for std thread
remove garbage