Stop the importer thread with the ID passed as query argument.
DELETE /{BASE}/import/cancel?tname=…
ImportWebService.stopArticleXMLImport({'tname': /* tname the thread ID of the importer thread to stop */});