detachInput method

void detachInput()

Implementation

void detachInput() {
  connectionRetryTimer?.cancel();
  connectionRetryTimer = null;
  connectionRetryCount = 0;
  connection?.close();
  connection = null;
  document = null;
}