Recursion protection in LegacyKernel::runCallback()