Added a teardown method
Merge pull request #3 from g10/feature/teardown

Added a teardown method