[tor-commits] [snowflake/master] pull copyLoop out of goroutine, better pop and reset