This document showcases how to clear a long-running task
Step 1:
Navigate to the Tasks page using the side menu nav pane
On the Upcoming Tasks tab, you will see a list of tasks, any tasks that have been running for more than 3 hours will then change to the stale status.
Note
If you are using the connected app links feature operation, the stale tasks will attempt to retrieve any audit log from the connected site