Change exception handling in stats sender

blueprint send-anon-usage

Change-Id: Iaedb606f03f4e6624497f0779fbd7b4a43af888e
Merge "Change exception handling in stats sender"