def clear_host_port(self):
        """Stops the adb port forwarding of the host port used by this client.
        """
        if self.host_port:
            self._adb.forward(['--remove', 'tcp:%d' % self.host_port])
            self.host_port = None