fixed NPE caused by attempting to close a nonexistent connection
Merge branch 'master' of https://github.com/peigen831/ChatSockets.git