set the task_class to Thread in CookbookResource

this will prevent resource crashes during deserialization of cookbook objects
Merge pull request #203 from RiotGames/fix-download-crash

set the task_class to Thread in CookbookResource