Adding in connection error try/except blocks with better messaging