Improve the code of handleSessionLost() Bug: 229350078 Test: atest FrameworksNetTests:VpnTest Change-Id: Ia5fee854fb6017c08b7b7fb7ad666eed9a932195