title: issue using async module in Node.js
body: <p>Having an issue, appreciate any help.</p>
  
  <p>I'm trying to gather all my async functions together.
  Tried async.parallel, async.each, gather-gm. Nothing makes the final callback work. 
  Here's the updated code(but yet not working properly): </p>
  
  <pre><code>var calls = [];
  
  async.each(parser.allHrefs,function (href,callback) {
  
      getHtml(href,function(err, add){
          console.log("Passing data: " + href);
  
          if(err){
              return callback(err);
          };
  
          if(add){
              calls.push(href);
          };
  
          return callback();
      });
  }, function (err) {
      if(err){
          console.log('something went wrong');
      }else{
          console.log('finished');
      };
  }); 
  </code></pre>
  
  <p>And the first function: </p>
  
  <pre><code>function getHtml(link, callback) {    
    httpreq.get(link, function(err, res) {
  
      if(err) {            
        return callback(err);      
      }
  
      if(res.statusCode &gt;= 300) {      
        return callback(null, false);       
      } else {
        //cut parsing code here...
        return callback(null, true);          
      }
    });
  }
  </code></pre>
  
  <p>p.s.:I've updated the code couple times. In this example i've tried to use async.parallel. And the thing is when i even get no errors, i still dont get to the "getLocations" function. Code looks much more better than first versions, but still refuses to work correctly.  </p>