Avoid crash when connexion is not avaible