Timeout on camera integration image retrieval

I have a camera integration, with the snapshot URL set
I use this integration to grab a static image when the doorbell rings

On a couple of occasions the logs show that an image could not be retrieved - and though I can’t see this in the logs, I suspect this is because the camera, on random occasions, will not return an image for up to 5 seconds.

Does anyone know what the image retrieval timeout is, and if it can be altered?