Merge pull request #423 from iamqizhao/master

Cancel the contexts of all active streams when a server connection is closed