docs: private void sendEmptyRequest(String path, String method) throws DatastoreEmulatorException {
      HttpURLConnection connection = null;
      try {
        URL url = new URL(this.host + path);
        connection = (HttpURLConnection) url.openConnection();
        connection.setDoOutput(true);
        connection.setRequestMethod(method);
        connection.getOutputStream().close();
        if (connection.getResponseCode() != HttpURLConnection.HTTP_OK) {
          throw new DatastoreEmulatorException(
              String.format(
                  "%s request to %s returned HTTP status %s",
                  method, path, connection.getResponseCode()));
        }
      } catch (IOException e) {
        throw new DatastoreEmulatorException(
            String.format("Exception connecting to emulator on %s request to %s", method, path), e);
      } finally {
        if (connection != null) {
          connection.disconnect();
        }
      }
    }