code: public void shutdown() {
  		// remove all of our temp directories
  		for (File path : paths) {
  			try {
  				if (path != null) {
  					if (path.exists()) {
  						FileUtils.deleteDirectory(path);
  						LOG.info("I/O manager removed spill file directory {}", path.getAbsolutePath());
  					}
  				}
  			} catch (Throwable t) {
  				LOG.error("IOManager failed to properly clean up temp file directory: " + path, t);
  			}
  		}
  	}
docs: Close method, marks the I/O manager as closed
  and removed all temporary files.