Only close client if not closed AND not decaying
Merge pull request #37 from xavi-js/hotfix/client-status

Only close client if not closed AND not decaying