task pool synchronization