public void close() {
    try {
      httpTlsClient.close();
    } catch (Exception ignore) {
      // Ignore
    }
    try {
      httpNonTlsClient.close();
    } catch (Exception ignore) {
      // Ignore
    }
    if (vertx != null && ownedVertx) {
      vertx.close();
    }
  }
@Test
  public void shouldFailToStartClientRequestWithNullKeystorePassword() throws Exception {
    ksqlClient.close();
    stopServer();

    // Given:
    startServerWithTls();

    // When:
    final KsqlRestClientException e = assertThrows(
        KsqlRestClientException.class,
        () -> startClientWithTlsAndTruststorePassword(null)
    );

    // Then:
    assertThat(e.getCause().getMessage(), containsString(
        "java.io.IOException: Keystore was tampered with, or password was incorrect"
    ));
  }