code: func (t *terminal) Kill() error {
  	if t.cmd.Process != nil {
  		if err := t.cmd.Process.Kill(); err != nil {
  			if err.Error() != "os: process already finished" {
  				return trace.Wrap(err)
  			}
  		}
  	}
  
  	return nil
  }
docs: // Kill will force kill the terminal.