Once-failed messages that are re-added to the queue should be added to
at the end.