[tor-commits] [metrics-tasks/master] Removed threading and modified the 'calculate_sum' method (#9889)