Elasticsearch factory fix unbind

Was preventing bundle stopping due to async call when ES node was actually closed.