- make sure the threads are not daemon...need to rework this