Called when this object is first loaded in the thread pool. Important: all workers in a pool must be of the same type, otherwise the mechanism becomes more complex.
This method will be executed in one of the pool's threads. The thread will be returned to the pool.