flush output after each experiment and after the whole sequence