I can see that the current hashtree:close() operations is pretty crash safe. But code does change. Would it make sense to wrap the try catch around the flush and close? I would think whatever makes flush fail, will make close fail, even though right now it would probably just fail silently.