fix: fix race condition at counting executing tasks on worker node