Fixed (hackily) workerPids() method for Windows