Connection reset by peer

Many thanks for your help. I don’t think it’s a timeout problem as (a) my calls don’t take that long and (b) just in case they do, I put a delay of 16s in the code to see what happens and then I get an HTTP 504 response code rather than the “Connection reset by peer” error.

I’ve now raised a bug report.