title: How to safely end a program with a ChromeDriver
body: <p>Currently I have the following issue:</p>
  
  <pre><code>my code is 
  WebDriver driver = new ChromeDriver();
  driver.close();
  </code></pre>
  
  <p>But thoissometimes ens in an error.</p>