force a flush on stdout after each cycle