code: public void close() throws SQLException {
          if (isClosed())
              return;
          try {
              this.timeoutExecutor.shutdown();
              protocol.close();
          } catch (QueryException e) {
              throw SQLExceptionMapper.get(e);
          }
  
      }
docs: close the connection.
  
  @throws SQLException if there is a problem talking to the server.