def _recursive_terminate_without_psutil(process):
try:<EOL><INDENT>_recursive_terminate(process.pid)<EOL><DEDENT>except OSError as e:<EOL><INDENT>warnings.warn("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>process.terminate()<EOL><DEDENT>process.join()<EOL>
Terminate a process and its descendants.