运行久了后,脚本就不会自动点击了,怎么回事?

function method() {
var a = desc("来了").findOne();
while (1) {
if (!id("0").exists()) {
sleep(6000);
a.click();
return;
}
sleep(10000);
}
var b = desc("接受").findOne();
b.click();
sleep(1000);
}

function method_2() {
method();
if (descContains("广东").exists()) {
var d = desc("否").findOne();
click(d.bounds().centerX(), d.bounds().centerY());
sleep(7000);
method();
} else {
var c = desc("是").findOne();
click(c.bounds().centerX(), c.bounds().centerY());
sleep(7000);
if (id("aua").exists()) {
id("aua").exists().click();
sleep(3000);
method_2();
}
}
}

method_2();
var e = desc("下一步").findOne();
device.vibrate(10000);