Quickfix for possible problems mixing output file mode and real-time mode