getState(invocation).getRemotingConnection().close();
state.getRemotingConnection().close();   ResourceManagerFactory.instance.returnResourceManager(state.getServerID());   MessageIdGeneratorFactory.instance.returnGenerator(state.getServerID());
   public Object handleClose(Invocation invocation) throws Throwable   {      Object ret = invocation.invokeNext();            //Finished with the connection - we need to shutdown callback server      getState(invocation).getRemotingConnection().close();            return ret;   }