adding incremental worker id in the thread pool