Network Availability check before every attempt to make a connection.