flush after every progress message