elasticsearch/elasticsearch — pull request #6586 by matt-preston (2014-06-22 16:23:28+00:00)
Title: [Updated] Implementation of blocking close method #4180

Blocks until all bulk requests have completed.

Updated based on feedback
Updated formatting

This fixes #4158