However , he urged Pakistani officials to end their cooperation with U.S.-led forces that are fighting an insurgency in neighboring Afghanistan .