IOError(EOFError() during request with HTTP.jl

I am experiencing a weird behaviour with HTTP.jl, I have a pipeline where I can load a file, it reads data from the file and then calls three times an AWS endpoint using this code:

resp = HTTP.request(
        body = JSON.json(Dict("inputs" => message))

all goes according to plan except when I load a second file, then I get this error:

IOError(EOFError() during request(

but then for the third file, it works again… and so on and so forth…

So I am now wondering if there is something I need to do in order to properly clean after myself…

any advice more than welcome

the error disappeared as soon as I updated to the latest stable version, 1.10.1