Fix freezing on network settings application.