Fix AvgUsedTime ERROR in WriteCVS
Fix multi-goroutine concurrency issues