code: func (megaPi *Adaptor) Finalize() error {
  	megaPi.finalizeChannel <- struct{}{}
  	<-megaPi.finalizeChannel
  	if err := megaPi.connection.Close(); err != nil {
  		return err
  	}
  	return nil
  }
docs: // Finalize terminates the connection to the board