Verifying network connection.