cancel execution of groovy script