unflake graceful stop integration tests

by using a more reliable method of getting the public ip, and not one that is
e.g. a virtual interface for virtualization purposes