This is the fix for issue #723. I have made the static GroovyBackend instance a ThreadLocal so it can be run in parallel in the same JVM.