When reading an image from an input stream, stop after the first time that a reader successfully reads the image.
Merge pull request #51 from GitsMcGee/master

When reading an image from a stream, stop after the first successful read