code: public synchronized void stopListening() {
          if (mListening) {
              mContext.unregisterReceiver(mReceiver);
              mContext = null;
              mNetworkInfo = null;
              mOtherNetworkInfo = null;
              mIsFailOver = false;
              mReason = null;
              mListening = false;
          }
      }
docs: This method stops this class from listening for network changes.