Execute script enhancement possible?

When using the “Execute script (F5)” command, a small window with a counter and “Cancel” button is displayed. If the script has several commands (like shrink some tables for example) and can each run for a long time, it would be a nice addition, if there would be a “Cancel after current” button/option, which would allow current command to finish and then cancel before executing the rest.