trap-manager: Wait for install to finish before uninstalling