URL::downloadToFile blocks indefinitely when iOS device is offline


In my app I’m using URL::downloadToFile() on iOS. The documentations states, that it is using a native OS background network task. Also the class created by the iOS implementation is called BackgroundDownloadTask.
In my naivety I was hoping, that this means, that JUCE and/or the OS handles the download in the background. But if I disconnect my iPad from the WiFi network, my app hangs indefinitely in



It does not block on macOS though.

@fabian : Is this supposed to block. What is wrong here? The documentation, the implementation or my interpretation of it? If my interpretation is wrong, perhaps you can add a hint to the documentation URL::downloadToFile() to avoid repetition of the same fallacy? (like Michael here presumably)

Thanks & Best,