A sample that handles configuration changes while waiting for a network response.