Add code that hangs until the IP address changes
Add logging and infinite loop for the change detector