write the pig pid when running in non-mapreduce mode