oos.flush();
// Failing to reset the object output stream every now and
// then creates a serious memory leak.
// right now we always reset. TODO - set up frequency counter per oos?
oos.reset();
} catch (IOException e) {
// there was an io exception so just drop the connection
oosList.removeElementAt(streamCount);
getLogger().debug("dropped connection");