def kill_all_process(self):
if (runtime.get_active_config("<STR_LIT>",False)):<EOL><INDENT>for process in self.get_processes():<EOL><INDENT>self.terminate(process.unique_id)<EOL><DEDENT><DEDENT>
Terminates all the running processes. By default it is set to false.
        Users can set to true in config once the method to get_pid is done deterministically
        either using pid_file or an accurate keyword