Optimized pcall