Flush the serial buffers before starting a new connection.