fix close connection when client leaves
Merge pull request #267 from xiangli-cmu/fix-wait-handler

fix wait handler should close connection if client leaves