Metrics Service Command Retry

Added logic to retry the Package statistics insert sql command. Also, added more tracing
- wouldn't it make more sense to put the retry loop outside the using(SqlConnection) ?
- then having done that maybe a pause between retries.