Handle Connection errors.