fix bug that socket wouldn't be released
Merge branch 'master' of github.com:ryanrapp/sparkychat