         {
             var msg:CommandMessage = new CommandMessage();
             msg.operation = CommandMessage.DISCONNECT_OPERATION;
-            internalSend(new AMFFireAndForgetResponder(msg));
+            internalSend(new MessageResponder(null, msg, null));
         }
         // Shut down locally.
         setConnected(false);

    }
}

}

//------------------------------------------------------------------------------
//
// Private Classes
//
//------------------------------------------------------------------------------

import mx.messaging.MessageResponder;
import mx.messaging.messages.IMessage;

/**
 *  Helper class for sending a fire-and-forget disconnect message.
 */
class AMFFireAndForgetResponder extends MessageResponder
{
    public function AMFFireAndForgetResponder(message:IMessage)
    {
        super(null, message, null);
    }
}

import mx.core.mx_internal;
import mx.logging.Log;
import mx.messaging.FlexClient;
import mx.messaging.MessageResponder;
import mx.messaging.config.ConfigMap;
import mx.messaging.config.ServerConfig;
import mx.messaging.events.ChannelFaultEvent;
