Replace the delayed-performs in CDEAsynchronousTaskQueue with main queue GCD dispatches. The delayed-performs rely on the run loop, and that doesn’t seem to be available when terminating on the Mac.