cancel method
void
cancel()
Implementation
void cancel() {
if (subscription != null) {
subscription!.cancel();
subscription = null;
appendOutput('INFO: Subscription canceled.');
} else {
appendOutput('INFO: No subscription, cannot cancel!');
}
}