Flush output so it appears in jenkins in realtime