Stop postgres before uninstalling