GRAILS-10183 GRAILS-10081 fixes for ForkedGrailsProcess