Add timeouts to all AppleScript and open calls