Try 5 times if the message is not sent successfully