implement Closeable
make clients non-static
Merge pull request #2 from rouzwawi/closeable

Implement Closeable