JmsUtils does that inside each close* method.