Even better you can use `try (BulkProcessor processor  =  BulkProcessor.builder(client(), listener).setBulkActions(6).setConcurrentRequests(1).setName("foo").build()) {`

since we are on Java 7 :)