[player] Put thread synchronization right.
[main] Don't print counter.