close method

void close()

Releases the keep-alive handle.

Implementation

void close() {
  if (_closed) return;
  _closed = true;
  _onClose();
}