Exit after connection error