Added retry logic to video creation