show error if cannot connect