单项选择题

The president said that he would cancel the visit, ______ that he was waiting for a better time.

A.having added
B.to add
C.adding
D.added