The project can be deleted including all project task even when the project task import is running. This can lead to front-end and possible backend errors.
Disable project deletion while there is running import in one of the project tasks.