code: @Override
      protected void closeConnection(Object connection) {
          try {
              if (qSession!=null) qSession.close();
              if (qConnection!=null) qConnection.close();
          } catch (Exception e) {
          }
          qSession = null;
          qConnection = null;
      }
docs: The method overrides the one in the super class to perform
  JMS specific functions.