Added a network check.