fixed TYPO! threads now exit! make sure to keep checking the queue, not just once before whiel loop