implement IDisposable
a more robust implementation
Merge pull request #12 from shiftkey/implement-disposable

Implement IDisposable