final ServerSession session = getBayeux().getSession(sessionId);
// We need to batch otherwise the deliver() will wake up the long poll
// and the disconnect may not be delivered, since the client won't issue
// a new long poll, and the disconnect will remain in the queue
session.batch(new Runnable()
{
public void run()
{
session.deliver(getServerSession(), kickMessage);
session.disconnect();