private void handleExpiredSession() {
    log.warn("Session expired event received");
    tracer.get().addCount("session-expired", 1);

    try {
      reset();
    } catch (Exception e) {
      queueBackgroundException(e);
    }
  }
  private void handleNewConnectionString() {
    log.info("Connection string changed");
    tracer.get().addCount("connection-string-changed", 1);

    try {
      reset();
    } catch (Exception e) {
      queueBackgroundException(e);
    }
  }