code: @Override
      public void doSessionCreated(ManagementContext managementContext,
                                   ServiceManagementBean serviceBean,
                                   IoSessionEx session,
                                   ManagementSessionType managementSessionType) throws Exception {
          SessionManagementBean sessionBean = managementContext.addSessionManagementBean(serviceBean, session);
          serviceBean.storeSessionManagementBean(sessionBean);
  
          managementContext.getManagementSessionStrategy().doSessionCreated(sessionBean);
  
          super.doSessionCreated(managementContext, serviceBean, session, managementSessionType);
      }
docs: (like proxy service) sets a connect future listener that does writes.