Add retry to celery task

Messages do not always get delivered. Built in a retry when message is not sent.
Max retry count could also be a setting.