detach the pthreads created but not cleaned up