sleep during uninstall

followups from #1802