I'm not a big fan of the nested *try ... catch* blocks, but I think it's ok to quietly disconnect respectively close the streams here. Something like IOUtils.closeQuietly() would be useful, but I'd say let's keep it like that for now.