title: nodejs request ECONNREFUSED
body: <p>i have some ECONNREFUSED with 'request' module, but some time my request passe without error O_o ...
  So i make my request recurcive but this not solve the problème ... </p>
  
  <pre><code>let request     = require("request");
  let currency = 'btceur';
  let data = [];
  let url             = "https://api.cryptowat.ch/markets/kraken/" + currency + "/price";
  let nbTry           = 0;
  let nbMaxTry        = 5;
  let callbackRequest = (error, response, body) =&gt; {
      if (error || response.statusCode != 200) {
          console.log('error', 'error, retry ' + (nbTry + 1) + "/" + nbMaxTry);
          console.log(error);
          if (nbTry &lt;= nbMaxTry) {
              nbTry++;
              request(url, callbackRequest);
          } else {
              console.log(data);
          }
      } else {
          let bodyjson             = JSON.parse(body);
          bodyjson.result.currency = currency;
          data.push(bodyjson.result);
          console.log(data);
      }
  };
  request(url, callbackRequest);
  </code></pre>
  
  <p>console output: </p>
  
  <pre><code>error error, retry 1/5
  { Error: connect ECONNREFUSED 69.164.196.116:443
      at Object.exports._errnoException (util.js:1022:11)
  at exports._exceptionWithHostPort (util.js:1045:20)
  at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)
    code: 'ECONNREFUSED',
    errno: 'ECONNREFUSED',
    syscall: 'connect',
    address: '69.164.196.116',
    port: 443 }
  [ { price: 1113.5, currency: 'btceur' } ]
  </code></pre>