Checks and renews IP address