How are you tmusing close to synchronize channels? Close doesn't block.
It looks like a race condition, the workers might try to write their start messages after main closes the channel.
It looks like a race condition, the workers might try to write their start messages after main closes the channel.