Cancel any outstanding work. This should be done at the end of a run, e.g. background work may be running even though errors in main thread will prevent reaching the backend.
Cancel any outstanding work. This should be done at the end of a run, e.g. background work may be running even though errors in main thread will prevent reaching the backend.