How to refresh JWT token without restarting worker (Python SDK 1.12.0)

Sorry for the late reply, I was on vacation.
In this case, am I required to create a parallel task like in this post in the " 1st way"?