Improve parallel_run.py somewhat am: 4d804b8eb8 am: cfb7f07fd3

Change-Id: I2330528c9fbd9d980126374c6464ccbf27821905