@Override
 public SftpSubsystemFactory build() {
   SftpSubsystemFactory factory = new SftpSubsystemFactory();
   factory.setExecutorService(executors);
   factory.setShutdownOnExit(shutdownExecutor);
   factory.setUnsupportedAttributePolicy(policy);
   factory.setFileSystemAccessor(fileSystemAccessor);
   GenericUtils.forEach(getRegisteredListeners(), factory::addSftpEventListener);
   return factory;
 }
 @Override
 public Command create() {
   SftpSubsystem subsystem =
       new SftpSubsystem(
           getExecutorService(),
           isShutdownOnExit(),
           getUnsupportedAttributePolicy(),
           getFileSystemAccessor());
   GenericUtils.forEach(getRegisteredListeners(), subsystem::addSftpEventListener);
   return subsystem;
 }