added cache for search, searching movies and tvshows in a background thread with a join at the end