title: Set setReadTimeout and setConnectTimeout after connect
body: <p>This is a simple code:</p>
  
  <pre><code>URLConnection connection;
  URL source = new URL("Some Url");
  connection = source.openConnection();
  connection.setConnectTimeout(2000);
  connection.setReadTimeout(2000);
  connection.connect();
  connection.setConnectTimeout(500);
  connection.setReadTimeout(500);
  </code></pre>
  
  <p>My question is that if I reset the connection timeout and read timeout of UrlConnection after connect using respective functions, as in above code, will the new values will work or the connection will timeout according to old values? In above, when will timeout happen, after 2000 ms or 500 ms?</p>