Fix race condition where multiple messages with the same ID were sometimes dropped.
Fix race condition where multiple messages with the same ID
were sometimes dropped.

codeorelse/generator-core,camikazegreen/photoshop-scrambler,camikazegreen/photoshop-scrambler,adobe-photoshop/generator-core,camikazegreen/photoshop-scrambler,MikkoH/generator-core,alesitalugo/generator-core