Fixed unseen episode downloading errors by using a lock