Tasker - Error after second part of task

Hello,

I’ve been trying to use Tasker and Hue Essentials to automate our Carport lights turning on when we arrive, and then gradually turning off over the course of 5 minutes.

So far, I’ve managed to get it to work when I just run the task itself, which just turns on the light, then turns it off over a time period of 5 minute.

However, I run into issues when I have the task activate on GPS location.
I’ve set a 50 meter perimiter that activates the task to run one time when I enter it.
The task starts fine and turns on the lights at the carport, but after that I get an error saying Hue Essentials can’t connect to the bridge.
Whether WiFi is turned on or off makes no difference.
It is connected via 4G/5G as well.
It will error out 10/10 times.

The error it gvies me is:
[Task name].com.superthomaslab.hueessentials\n***\n*.

Does anyone know what causes this issue, and how to fix/circumvent it?
So far, turning the lights off manually isn’t a huge problem, but I do want it to work properly.

Tasker version: 6.3.13
Hue Essentials version: 4.2.7

Thanks in advance!

Kind regards,

Sjana