During a large scale production we end up with blocks where jobs don't get started due to Failed to start job 'j-2510101449364f5e9a844d1bc59e2653': OpenEoApiError('[401] TokenInvalid: Authorization token has expired or is invalid. Please authenticate again.')

The blocks are rather short making me think it only impacts all the threads that have already been created.
I think it might have something to do with the auth bearer not being thread safe when refreshing.
Adding a token getting in the thread with a locked getter (thread safe) could solve this, but it is certainly not the only solution here