implement Closeable
Merge pull request #1 from safetytrick/master

Implement Closeable