Probably not, I would've thought it's the responsibility of spring/grails/whatevs to do that (after all, this code is not responsible for opening it, so probably shouldn't be closing it).