public void freePackets(){
		activePacket = null;
		if(packetList != null) {
			Iterator<Packet> packetIter = packetList.iterator();
			while(packetIter.hasNext()){
				Packet.free(packetIter.next());
			}
			packetList.clear();
		} else {
			if(singlePacket != null) {
				Packet.free(singlePacket);
				singlePacket = null;
			}
		}
	}