there may be several ArchiveInput, can't shutdown by itself
auto shutdown if no more input