code: func (c *ChromeTarget) checkTargetDisconnected(method string) {
  	switch method {
  	case "Inspector.targetCrashed", "Inspector.detached":
  		c.replyLock.Lock()
  		for _, replyCh := range c.replyDispatcher {
  			close(replyCh)
  		}
  		// empty out the dispatcher
  		c.replyDispatcher = make(map[int64]chan *gcdmessage.Message)
  		c.replyLock.Unlock()
  	}
  }
docs: // check target detached/crashed
  // close any replier channels that are open
  // dispatch detached / crashed event as usual