Hi,
I am simulating a scenario where there are two workers polling for a same job type. In one of the worker code I have Thread.sleep(<time_greater_than_time_out>) so that timeout would happen and Zeebe would re-assign the job to the second worker. I see two kind of behaviors depending on no. of instances.
1. When I create one instance in process
When the instance reaches the service task, if the worker one acquires the job due to Thread.sleep() it would go for sleep and Zeebe would re-assign to second worker, this second worker would complete the job and first worker would come out of sleep and throw NOT_FOUND exception. This is the expected behavior as per [document](https://docs.camunda.io/docs/components/concepts/job-workers/#timeouts)
2. When I create two instances (at the same time) in process
For the first instance I can see the above behavior , but for the second instance the primary worker which has Thread.sleep() sleeps for 20s and completes the job, I don’t see zeebe re-assigning the work to second worker in this case.
What would be the reason for this behavior ?