split out telemetry from old debugging
dont call printf multiple times for telemetry
increase resend timeout to 3 minutes