Update AsyncBase.hx

Errors should be piped too.
fix error handling for pipes