Parallel importer incorrectly handles the case when either the consumer returned an error, or the import context itself was cancelled.