Close stream (althought it in practice will be a bytearrayinputstream). Better safe than sorry.