Hot SIM Swapping

After a SIM is hot swapped, I get SIM reading errors like:

AT+CCID?
+CME ERROR: SIM failure

The error persists if the original SIM is returned.

Is there any way to correct this state without a reboot (not an option in our deployment scenario)?

How about using

At!uims=1
At!uims=0

That seems to fix it