FIX: pipeline didnt trap connection error correctly