exit parent process with child exit code