def METHOD_NAME(self):
    """
    Kill this terminal through killing the process associated with the pid.
    """
    self.reader.METHOD_NAME(block=False)
    logging.info(f'Killing subprocess PID {self.pid}')
    try:
        os.killpg(self.pid, signal.SIGTERM)
    except OSError:
        pass
    try:
        os.METHOD_NAME(self.pid, signal.SIGKILL)
    except OSError:
        pass