remove thread if any fail, in case leak.