adds the ability to cancel the operation graph