Es2

Implementing the ElasticSearch backend
You can't return an argument but you can leave the function. Since its really just breaking from the `while`, should we use `break` instead?

`SyntaxError: 'return' with argument inside generator`