finish filtered stream output to stdout