title: Should I close cURL or not?
body: <p>I have a function that calls 3 different APIs using <em>cURL</em> multiple times. Each API's result is passed to the next API called in nested loops, so cURL is currently opened and closed over 500 times. </p>
  
  <p>Should I leave cURL open for the entire function or is it OK to open and close it so many times in one function?</p>