Added pid check for execution failures inside VM