remove try/finally