Fix an NPE.  Apparently mScanNetworkTask can be null at this point.