public void unregister() {
    context.unregisterReceiver(networkConnectionChangeReceiver);
    context.unregisterReceiver(internetConnectionChangeReceiver);
    if (wifiAccessPointsScanEnabled) {
      context.unregisterReceiver(wifiSignalStrengthChangeReceiver);
    }
  }
Unregisters NetworkEvents.
It should be executed in onDestroy() method in activity
or during destroying instance of class extending Application.
network-events-library/src/main/java/com/github/pwittchen/networkevents/library/NetworkEvents.java