Merge pull request #6 from janm399/master

Removed client after close