I like the try...finally structure here to guarantee cleanup, this makes perfect sense.