[threadpool] Use threadpool->threads instead of threadpool->counters to wait on clean...