initial check for connectivity