code: public void unregister() {
      context.unregisterReceiver(networkConnectionChangeReceiver);
      context.unregisterReceiver(internetConnectionChangeReceiver);
      if (wifiAccessPointsScanEnabled) {
        context.unregisterReceiver(wifiSignalStrengthChangeReceiver);
      }
    }
docs: Unregisters NetworkEvents.
  It should be executed in onDestroy() method in activity
  or during destroying instance of class extending Application.