wait for completion of install/uninstall (fixed #2)