add null check in the close method of CsvItemReader and CsvItemWriter to avoid NPE and so they can be safely called multiple times. If the reader/writer is already closed then invoking this method has no effect.