discarding threads