check connection status instead of Data availability