add mutex for Fluent::Engine.emit