stop before uninstall, fixes #4