Is it possible to reuse STEPControl_Reader for sequential reading of step files?

Hello,

I was trying to reuse the same step file reader to read a second file. Surely the simplest would be to create individual readers but I'm curious if it is possible to reuse the same reader.

This code throws at the second .TransferRoots():

// Read part1 and part2 STEP files
STEPControl_Reader reader;

reader.ReadFile(argv[1]);
reader.TransferRoots();
TopoDS_Shape part1 = reader.OneShape();

reader.ClearShapes();

reader.ReadFile(argv[2]);
reader.TransferRoots();
TopoDS_Shape part2 = reader.OneShape();

Thanks