Wait for reader threads to finish before checking the compiler process output