You should be able to easily enough do a check when the casting window pops up for casting SoW. Then set a timer of some sort, whether it be a UI window of it's own or whatever....
The only flaw is if you start casting SoW and it doesn't complete. This can always be remedied by casting it again though