Return from loop after first mimeType match