Fiddling with connection checking.