Fixed bug that was caused by manual run of torrentToMedia