if (!queueMode) {
// For a topic, remove the subscription.
if (durableSubscriber) {
try {
sess.syncRequest(new ConsumerCloseSubRequest(targetName));
} catch (JMSException exc) {
if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG, "", exc);
}
} else {