Fixing race condition between network status change and subscription notification.