code: func (s *Socket) pingTimeoutHandler() {
  	defer func() {
  		s.pingTimeout.Stop()
  	}()
  
  	select {
  	case <-s.pingTimeout.C:
  		// Close the socket due to the timeout.
  		s.bs.Close()
  	case <-s.isClosedChan:
  		// Just release this goroutine.
  	}
  }
docs: // Close the socket during a ping response timeout.