async function checkViaImgUrl (imgUrl) {
  try {
    await checkImgSrcPromise(imgUrl)
  } catch (error) {
    throw new Error(`Error or timeout when attempting to load img from '${imgUrl.toString()}'`)
  }
}
Checks if an image can be loaded from a given URL within a specified timeout.

@param {URL} imgUrl - The URL of the image to be loaded.
@returns {Promise<void>} A promise that resolves if the image loads successfully within the timeout, otherwise it rejects with an error.