recorder.close();
curi.setContentSize(recorder.getRecordedInput().getSize());
logger.fine(curi + ": " + recorder.getRecordedInput().getSize() + " bytes read");
if (client != null && client.isConnected()) try {
client.disconnect();
} catch (IOException e) {
logger.fine("problem closing connection to whois server for uri " + curi + ": " + e);
}
urlProgress.put(curi.toString(), UrlStatus.DONE.ordinal());