Add the highlighted nodes shown below, location at the top of the screenshot. You will need to create a new variable in BP_SmartAIComponent called Despawn Timer and set its variable type to Timer Handle then copy the image below, you will need to create a new custom event called Stop Despawn Timer and set it to Run On Server and tick Reliable.