pos += size;
} else // Handle cached resource
{
(resource).writeTo(multi, start, size);
}
<BUG>}
if (in != null) {
in.close();
}</BUG>
multi.close();

pos += size;
} else // Handle cached resource
{
(resource).writeTo(multi, start, size);
