Scheduler Issue

So is there a timeout in scheduler?

I can run a script manually with no issue. But if I run it with scheduler it fails with script error: no such item (4).

The script uses fetch to download a 10M file. I have capped the bandwidth at 64k to simulate file downloads on really slow Internet connections.

If I remove the speed cap it works fine. But with it capped it seems to timeout when ran with scheduler.

The script works perfectly fine when I run it manually. It runs a long time since the bandwidth is capped but the file downloads fine. However when run with scheduler it times out around the 4 minute mark long before the file is downloaded.

I have ran it with:
/system script run & also with /execute script with the same result.

I just tested it in the ip dhcp-client script area and it works perfectly. So is there any hope for scheduler to work in a non retarded fashion?