implement Gradle build cancellation in grails-shell