rollback retry functionality for using without celery