record and report USB pipe errors via API stats

record and report USB pipe errors via API stats