Bug 843391 - pause gallery metadata parser after decoding large images