title: How to exit application when any of windows forms have not loaded yet
body: <p>I'm writing an interface that extract information from TAPI packages and sends them through modbusTCP packages to a modbusclient.</p>
  
  <p>Due to some library limitations, I had to write a code which exits application if there is no network connection even before loading any windows forms or GUI.</p>
  
  <p>And since <code>Application.exit()</code> raises formclosing event and do nothing else (<em>as far as I know</em>), I can not use this method (<em>I tried and it failed to exit application</em>). </p>
  
  <p>How can exit application <strong>safely</strong>?</p>