The configuration you are using is correct. In your case, after three failed ping attempts, a SIM switch should occur.
I would like to check in detail why a SIM switch always happens, so I need a troubleshoot file. Generate a troubleshoot file and send it via private message. Go to System -> Administration -> Troubleshoot and click Download.