Added asserts to pending connect ref counting