319320321322323324325326327328329
} if(agent.waitForSync(500)) { return true; } } session.wait(500); left = left - 500; } } catch (InterruptedException e) { } }