added report procedure to handle output stream from worker