Rethrow bad URI as connection error