catch IO exceptions from broken downstream pipe