executor.scheduleAtFixedRate(new ByteBufferProgress(bbc), 2, 1, TimeUnit.SECONDS);
try {
InputStream is = new ByteBufferInputStream(bbc);
OutputStream os = new ByteBufferOutputStream(bbu);
if (!dec.code(is, os, lzmaSize)) {
throw new IOException("LZMA decoding error");
}
} finally {
executor.shutdown();
}