Ping method works even connection isn't established.