def METHOD_NAME(self):
    """This will run in a new process in order to renew the IP address after certain time.
    :return: None
    :rtype: None
    """
    while True:
        while self.renew_ip() is True:
            time.sleep(self.time * 60)  # time converted in minutes
        else:
            time.sleep(10)  # will try again to renew IP in 10 seconds