Get rid of threads they are not doing anything anyway