checking conection