add try pattern teardown