check conection