Workaround for Windows leaving files open in some situations, updated to Grails 2.2.2