StackOverFlow error in ES client

Hello,

I am getting the following errors at random times while indexing:
https://pastebin.pl/view/a1039e86

After this happens, the ES rest client shuts down and I can't seem to process any message after that.

Any help would be greatly appreciated!