Check connection status