'Uploading images using rn-fetch-blob times out very often

I am using https://www.npmjs.com/package/rn-fetch-blob to upload images to a rest api. Im racing the promise against a 10 second timeout and im getting a lot of timeouts in production. We are uploading very small images. The app is not even reaching the server when the timeout promise rejects. Im just curious if there is anything i can do with this. Everything seems to work great with consistent network (in other words at my desk haha) but i know sometimes mobile devices try to run on wifi even though there isn't internet access over wifi (personal experience). Any advice is appreciated. Code sample:

RNFetchBlob.fetch(
'PUT',
`${API_HOST}${path}`,
{
'Content-Type': `image/${fileType}`,
Authorization: `Bearer ${token}`
},
RNFetchBlob.wrap(file)
)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source