pub async fn purge(client: &Client, json: bool) -> Result<()>
Purge all failed messages from the queue