stop after 5 if you don't find media