I noticed that in Clay's ComponentConfigBean$WatchDog the following is used to close the open URLConnections:
private void close() { if (connections == null) { return; } for (int i = 0; i < connections.length; i++) { connections[i] = null; } connections = null; } Is dereferencing these enough or would it be better to explicitly call close() on the inputstreams associated with the connections?