Wait for install to finish before ending script.