code: @Override
      public void closeConnection() throws JdbcServerException {
          if (!endpointConfiguration.isAutoConnect()) {
              handleMessageAndCheckResponse(JdbcMessage.closeConnection());
          }
  
          if (connections.decrementAndGet() < 0) {
              connections.set(0);
          }
      }
docs: Closes the connection
  @throws JdbcServerException In case that the connection could not be closed