TS download and upload speed bug

When using the functions ts(ttx) and ts(trx) more than once, only the first value will be correct (or at least plausible), while the others will show 0 most of the time, or be completely wrong, and however different from the first one.