private void init() { while (executor == null || !executor.hasClient()) { stopClient(); //TODO(danielwh): Remove explicit port (blocked on crbug.com 11547) this.executor = new ChromeCommandExecutor(9700); startClient(); //In case this attempt fails, we increment how long we wait before sending a command chromeBinary.incrementBackoffBy(1); } //The last one attempt succeeded, so we reduce back to that time chromeBinary.incrementBackoffBy(-1); }