Attempt to retry operation in event of database error or deploy error