Remove the lock file if the upgrade hits a fatal error.