//the newly assigned currentConnectionHandle null, resulting in an NPE.
currentConnectionHandle = null;
// tell my listeners I am closed
if (eventListener != null && eventListener.size() > 0)
{
ConnectionEvent closeEvent = new ConnectionEvent(this);
for (Enumeration e = eventListener.elements();
e.hasMoreElements(); )
{
ConnectionEventListener l =