title: When does spring batch close input streams?
body: <p>This is in context of using spring batch 3.0.8. I created a job where some of the steps are reading from a csv file using the Spring FlatFileItemReader which is being wrapped by the MultiResourceItemReader. I would like to know if spring automatically closes the input stream after reading the file in or is that something I need to explicitly do? If I need to close it, then what are some recommendations on where to close it? </p>
  
  <p>The reason I am asking this is because we noticed that the MultiResourceItemReader is not closing input streams when it finishes it's current step and going on to the next step which is a big problem for us because we are reading over a 1,000 files and will read more in the future.</p>