retry using setup and teardown