Stop multiple invocations of script.