flush serial I/O on start