ThreadPool now uses daemon threads in CUDAContext