fix app hang during mediafiles read

to prevent app hang, exit mediainfo thread after 10 seconds if not
finished.