Flush output after every printf to see progress