Implement delayed_cancel for the Subscription resource, which will cancel the subscription at the end of the current period.