use workerId instead of pid