Based on what you are describing, it’s because you are running 22251 which has a bug.
Follow this guide → APIM Sync Settings Not Saving, VER_ERR08 Errors, Cannot Perform Master Reset or Upgrades/Updates (Solved)
If a master reset freezes, perform a key cycle and then try again.
EDIT: I’ve replaced the key cycle instructions by Ford’s instructions