SMP-compatible fix. Should be able to catch the exception and try again if it fails