what about moving in_count initialization inside the loop (and goroutine), it isn't used at this level neither.