title: Java Application, Set connection Timeout to 0
body: <p>I have a java application, it tries to connect to a particular website.
  But however, my internet does not let it connect, is there a way to set the Connection Timeout to 0 so it does not waste time tring to connect?</p>