I chunked the list for adding the episodes to the database. Maybe it was too many transaction at once.