@Override
 public void close() throws ItemStreamException {
   super.close();
   currentItemCount = 0;
   try {
     doClose();
   } catch (Exception e) {
     throw new ItemStreamException("Error while closing item reader", e);
   }
 }