* Set version to 8.10.1
* Add tests for bulk helper with various flush and server timeouts
* Copy and empty bulkBody when flushBytes is reached
Before it was waiting until after semaphore resolved, then sending with
a reference to bulkBody. If flushInterval is reached after `await
semaphore()` but before `send(bulkBody)`, onFlushTimeout is "stealing"
bulkBody so that there is nothing left in bulkBody for the flushBytes
block to send, causing an indefinite hang for a promise that does not
resolve.
* comment typo fixes
---------
Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>