Flush output stream after result printed in portfolio.