Need two calls to unused_ip to make sure it rotates the lock file