def close(self):
        """
        Close just unregister himself from the lower layer and
        remove rules from iptables
        """
        self.firstpacket = True
        unblock_icmp_port_unreachable()
        self.lowerLayers['default'].unregister_upper_layer(self.connectionID)