stats: fix data race when recording send result
Merge pull request #1316 from unihorn/168

stats: fix data race when recording send result