Remove unneeded thread