protected void close(){
  inUseMsgIds.clear();
  pendingMessages.clear();
  pendingFlows.clear();
  outboundQoS2.clear();
  outboundQoS1.clear();
  outboundQoS0.clear();
  inboundQoS2.clear();
  tokenStore.clear();
  inUseMsgIds=null;
  pendingMessages=null;
  pendingFlows=null;
  outboundQoS2=null;
  outboundQoS1=null;
  outboundQoS0=null;
  inboundQoS2=null;
  tokenStore=null;
  callback=null;
  clientComms=null;
  persistence=null;
  pingCommand=null;
}

protected void close ( ) { inUseMsgIds . clear ( ) ; pendingMessages . clear ( ) ; pendingFlows . clear ( ) ; outboundQoS2 . clear ( ) ; outboundQoS1 . clear ( ) ; outboundQoS0 . clear ( ) ; inboundQoS2 . clear ( ) ; tokenStore . clear ( ) ; inUseMsgIds = null ; pendingMessages = null ; pendingFlows = null ; outboundQoS2 = null ; outboundQoS1 = null ; outboundQoS0 = null ; inboundQoS2 = null ; tokenStore = null ; callback = null ; clientComms = null ; persistence = null ; pingCommand = null ; }
tidy up - ensure that tokens are released as they are maintained over a disconnect / connect cycle .
