Wraps long-running local model downloads with platform-specific safeguards.
Android keeps a wakelock while the block runs; common/iOS fallback executes the block directly.