improvement to output handling in an async world