title: Mongoose disconnecting after all save operations done
body: <p>I'm making save operations in loop. (I'm not collecting those promises, and not waiting for all saves to finish)
  How do I disconnect from the db after all operations done?</p>
  
  <p>I wanna do something like this:</p>
  
  <p><a href="https://i.stack.imgur.com/scHqo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/scHqo.png" alt="enter image description here"></a></p>
  
  <p>Don't have enough memory to collect those promises </p>