fix for GRAILS-9845 "Grails forked run-app and test-app should 'block' and forward io to parent process"