In the current version of the extension, data chunks are queued back in the extension internal queue as soon as an APM Server transport error is detected.
This could lead to some events being indexed twice (as each data chunk contains an unknown number of APM events, and the APM Server could encounter an issue halfway through processing the chunk).
It was decided to drop data chunks upon APM Server Transport issues.