Detect problem with connection