Exportv4 cs mongodb into es

If this happens, the iterator will not be closed.