Why repeat a try statement in AppleScript before returning an error?
Applescript is seems to suffer with timing issues that usually are solved be using a delay. Often this delay needs to be tuned to match the speed of a particular model Mac. In other words, the delay hard coded in the the AppleScript may work on a newer faster Mac, but need to be increased when run on a slower Mac.