Fixed network activity not dismissing sometimes.