For reference see https://github.com/kolmafia/kolmafia/pull/1889
#1889 was a solution to preference file corruption. It appeared to address the issue so it was committed. But real world experience indicated a lot of deadlocks started occurring including one that occurred fairly consistently...