There is an unused deprecated script flush queue () #dep, which appears to increment the message queue retryIndex, however the new version of this script flush queue does not. Unless there's a hard failure (i.e., error code 104) the message will be tried for eternity.