code: func (a *Astilectron) Close() {
  	astilog.Debug("Closing...")
  	a.canceller.Cancel()
  	if a.listener != nil {
  		a.listener.Close()
  	}
  	if a.reader != nil {
  		a.reader.close()
  	}
  	if a.stderrWriter != nil {
  		a.stderrWriter.Close()
  	}
  	if a.stdoutWriter != nil {
  		a.stdoutWriter.Close()
  	}
  	if a.writer != nil {
  		a.writer.close()
  	}
  }
docs: // Close closes Astilectron properly