Fix job exit status and child process handling for VMs to support
zombies

Signed-off-by: nigel <nigel.cook@hp.com>