adding protective assert to Chunk.add to prevent adding after closing