Put serial reading and sending to plotly in separate timing loops so that the serial data can be read at a high rate to absorb and freezing and the plotly data can be appropriately throttled.