Fix an issue in ConnectionManager where sendingMessage may create too many unnecessary SendingConnections.
Modified Patch according to comments
Merge pull request #356 from shane-huang/master

Fix an issue in ConnectionManager where sendMessage may create too many unnecessary connections