fix for GRAILS-11514 - "grails run-app" running application silently quits after a while