docs: @Override
    public void close()
    {
      if (!closed)
      {
        try
        {
          if (Files.isDirectory(bindDir))
          {
            String[] dir = bindDir.toFile().list();
            if (dir != null)
            {
              for (String fileName : dir)
              {
                Files.delete(bindDir.resolve(fileName));
              }
            }
            Files.delete(bindDir);
          }
        }
        catch (IOException ex)
        {
          logger.debug("Exception encountered while trying to clean local directory. ", ex);
        }
        finally
        {
          closed = true;
        }
      }
    }