title: occasionally connection timeout from lambda function
body: <p>I'm not sure why, but from time to time - once in 20 lambda calls, I receive an error: </p>
  
  <pre><code>Connection timed out after 120000ms
  </code></pre>
  
  <p>the calls are done from ECS container, and all (caller and lambda) are written in node.js.</p>
  
  <p>what should I check?</p>
  
  <p><a href="https://i.stack.imgur.com/PSkC3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PSkC3.png" alt="enter image description here"></a></p>