Handle errors in request pipes