Add retry loop when setting the SM