protected void tearDown() throws Exception {
  stunStack.removeSocket(clientAddress);
  stunStack.removeSocket(serverAddress);
  clientSock.close();
  serverSock.close();
  requestCollector=null;
  responseCollector=null;
  System.setProperty(StackProperties.PROPAGATE_RECEIVED_RETRANSMISSIONS,"false");
  System.setProperty(StackProperties.KEEP_CRANS_AFTER_A_RESPONSE,"false");
  System.setProperty(StackProperties.MAX_CTRAN_RETRANSMISSIONS,"");
  System.setProperty(StackProperties.MAX_CTRAN_RETRANS_TIMER,"");
  System.setProperty(StackProperties.FIRST_CTRAN_RETRANS_AFTER,"");
  super.tearDown();
}

protected void tearDown ( ) throws Exception { stunStack . removeSocket ( clientAddress ) ; stunStack . removeSocket ( serverAddress ) ; clientSock . close ( ) ; serverSock . close ( ) ; requestCollector = null ; responseCollector = null ; System . setProperty ( StackProperties . PROPAGATE_RECEIVED_RETRANSMISSIONS , "false" ) ; System . setProperty ( StackProperties . KEEP_CRANS_AFTER_A_RESPONSE , "false" ) ; System . setProperty ( StackProperties . MAX_CTRAN_RETRANSMISSIONS , "" ) ; System . setProperty ( StackProperties . MAX_CTRAN_RETRANS_TIMER , "" ) ; System . setProperty ( StackProperties . FIRST_CTRAN_RETRANS_AFTER , "" ) ; super . tearDown ( ) ; }
frees all sockets that we are currently using .
