Check for connected before calling read. Otherwise TinyUSB may setup the read on the wrong endpoint. Fixes #6018 `