0789ad9 Erase stdout data to restore clean state for “patent” task