exponential backoff for failed messages

exponential backoff for failed messages