don't cancel a subscription that has already ended
Merge pull request #2735 from dimagi/sub-error

don't cancel a subscription that has already ended