I guess what i meant was have one huge try catch finally clause for the execute method and declare all the resources  that need to be closed outside it and close them once in one finally clause.