Set completed- delete thread