def wait_for_children():
wait(lambda: len(multiprocessing.active_children()) == <NUM_LIT:0>)<EOL>
Wait for child processes to exit

    The testing system launches and terminates child processes, but
    doesn't wait for them to actually die. So in a few places we need
    this extra call