Job execution pid check

my bad so 0 === $returnCode for better readability