Fixed IDAlreadyConnectedException issues.