@takeshitakenji To explain further the DBO object will lock the rows related to a queue item while the queue item is being processed so if the message you're trying to delete is still federating, it will block a deletion.
This is probably not desirable behaviour, because we'd want to stop it BEFORE federation if you delete it, but I'm not describing the ideal here, I'm describing how it works right now practically speaking.