added while true loop to worker, prevents hanging once threads are done