Thread pool joinable at shrinking