Remove unnecessary catch-clauses for try-finally