code: @Override
      public void doSessionCreated(final long sessionId, final ManagementSessionType managementSessionType) throws Exception {
          ThreadGatewayStats stats = gatewayStats.get();
          stats.doSessionCreated();
      }
docs: This must run ON the IO thread