python-engine: Retrieve exit value from tracee, stop when tracee finishes