Fix another race condition in parallel.pl