+1 on the try/finally fixes.