Unregister NetworkBroadcastReceiver when shutting down the dispatcher fixes #259