Remove redundant try/finally block