cache serial port config while app is running