The lock acquisition for packed refs does not have a maximum retry policy, which results in the process being retried indefinitely.