Revert "switched to threads"
Revert "switched to threads"

This reverts commit e485ad36b1aa3e3f7e5c16c660682d681e2d772a.

nebgnahz/CS268NetworkMeasurement,nebgnahz/CS268NetworkMeasurement,nebgnahz/CS268NetworkMeasurement