collector now exits cleanly