Move stream close into it's own try/catch.

One stream could possibly not be closed when storing cached bitmap
images. Move this into its own try/catch to fix this bug.

Change-Id: I8a6f1385ba28aabe3eb97afaaba84cfa7c5d61fd