Fix an issue in ConnectionManager where sendingMessage may create too many unnecessary SendingConnections.
Modified Patch according to comments