check-for-updates waits for the updater process to finish