Exportv4 cs mongodb into es

An arbitrary sleep is almost always a code smell. Why do we need this? If we really do, a poll loop is probably better than an arbitrary 1 second delay.