code: func (r *reader) isEOFErr(err error) bool {
  	return err == io.EOF || strings.Contains(strings.ToLower(err.Error()), "wsarecv:")
  }
docs: // isEOFErr checks whether the error is an EOF error
  // wsarecv is the error sent on Windows when the client closes its connection