title: request npm module - resolve ESOCKETTIMEDOUT
body: <p>I am using request npm module and making upstream requests in a loop approx 100 requests per second. The timeout has been set to 10 seconds. Problem is I keep getting ESOCKETTIMEDOUT for 1 out of 1000 requests consistently.</p>
  
  <p>I am pretty sure that upstream server is not timing out. What could be the reason of this and how to avoid it.</p>