simulator: flush data written to UART immediately