title: setTimeout in Node.js loop
body: <p>I'm a bit confused as to how <code>setTimeout</code> works. I'm trying to have a <code>setTimeout</code> in a loop, so that the loop iterations are, say, 1s apart. 
  Each loop iteration makes an HTTP request and it seems like the server on the other end can't handle that many requests in such a short time span.</p>
  
  <pre><code>for (var i = 1; i&lt;=2000 &amp;&amp; ok; i++) {
      var options = {
          host:'www.host.com',
          path:'/path/'+i
      };
  
      setTimeout(makeRequest(options, i), 1000);
  };
  </code></pre>
  
  <p>Why does this not work and how can I achieve this?</p>
  
  <p>Thank you</p>