when testing if all_pipelines_started/finished(), only consider active ones
trivial change to avoid an unecessary method call
when checking if start_over worked, also check we have no submissions
only disconnect in lines() and num_records() if the file is large