threads_done
while (threads_done() != nr_sk_threads && !is_stopped() &&
while (threads_done() && !is_stopped() && !threads_err())