Android 5.0 fix: make sure to connect to a recently enabled network.