If export is running(ex: package export or excel export), and the user trys to open task for editing, the handleCancelImport function in the task controller put action, will unlock the task.