GROOVY-6784: @ThreadInterrupt is not compatible with @CompileStatic