def setTimeout(self, timeout):
        """
        Change timeout setting.
        """
        if timeout is not None: