code: func (remote *RemoteDebugger) Close() (err error) {
  	remote.Lock()
  	ws := remote.ws
  	remote.ws = nil
  	remote.Unlock()
  
  	if ws != nil { // already closed
  		close(remote.requests)
  		close(remote.closed)
  		err = ws.Close()
  	}
  
  	if remote.verbose {
  		httpclient.StopLogging()
  	}
  
  	return
  }
docs: // Close the RemoteDebugger connection.