code: public final Session getSession (final Configuration initConfiguration, final String initTargetName, final InetSocketAddress inetAddress) {
  
          try {
              // Create a new Session
              final Session newSession = new Session(this, initConfiguration, initTargetName, inetAddress, Executors.newSingleThreadExecutor());
              return newSession;
          } catch (Exception e) {
              LOGGER.error("This exception is thrown: " + e);
              e.printStackTrace();
              return null;
          }
  
      }
docs: Method to create and return a new, empty <code>Session</code> object with the configured layer of threading.
  
  @param initConfiguration The configuration to use within this session.
  @param initTargetName The name of the iSCSI Target.
  @param inetAddress The <code>InetAddress</code> of the leading connection of this session.
  @return AbsSession The SessionObject.