Gcs bugfixes

Fixes threading issues with telemetry QIODevices.
Provides retries to failed usb writes. This fixes some issues I was having with quanton on connect. Could be related to #1155.