Fix bug in parallel job monitoring